package com.itheima.oop.Test02;

import java.util.Scanner;

public class MainApp {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入学员编号:");
        String id = sc.next();
        System.out.println("请输入学员姓名:");
        String name = sc.next();
        System.out.println("请输入学员性别:");
        String gender = sc.next();
        System.out.println("请输入学员身高:");
        Double hight = sc.nextDouble();
        System.out.println("请输入学员年龄:");
        int age = sc.nextInt();
        Student stu = new Student(id,name,gender,hight,age);
        stu.show();
    }
}
